<template>
    <div>
        <div id="title-top">
            {{title}}
        </div>
    </div>
</template>

<script>
export default {
    name: 'mytitle',
    props:['title'],
    data() {
        return {

        };
    },
    created() {
    },
    methods: {

    },
    //组件挂载
    components: {},
    //计算属性
    computed: {},
    //过滤器
    filters: {},
};
</script>

<style lang="scss" scoped>
#title-top{
    width: 100%;
    height: 50px;
    text-align: center;
    line-height: 50px;
    background-color: magenta;
}
</style>
